rename (Entry) |
This Web service operation renames the particular entry if the entry is in the non-leaf node.
SOAP Request
<Rename xmlns="http://schemas.cordys.com/1.0/ldap"> <renameReferences>true</renameReferences> <tuple> <old> <entry dn="cn=111111,cn=organizational users,o=system,cn=cordys,cn=defaultInst,o=vanenburg.com"> <authenticationuser> <string>cn=111111,cn=authenticated users,cn=cordys,cn=defaultInst,o=vanenburg.com</string> </authenticationuser> <description> <string>111111</string> </description> <cn> <string>111111</string> </cn> <objectclass> <string>top</string> <string>busorganizationaluser</string> <string>busorganizationalobject</string> </objectclass> </entry> </old> <new> <entry dn="cn=111112,cn=organizational users,o=system,cn=cordys,cn=defaultInst,o=vanenburg.com"> <authenticationuser> <string>cn=111112,cn=authenticated users,cn=cordys,cn=defaultInst,o=vanenburg.com</string> </authenticationuser> <description> <string>111111</string> </description> <cn> <string>111112</string> </cn> <objectclass> <string>top</string> <string>busorganizationaluser</string> <string>busorganizationalobject</string> </objectclass> </entry> </new> </tuple> </Rename>
Table 1. Request Parameters
Parameters |
Mandatory | Accepted Input Values | |
---|---|---|---|
renameReferences | References to this entry will be renamed too | no | Accepts a boolean value:
|
old |
Old entry to be renamed | yes | |
new |
New entry with the renamed details | yes |
SOAP Response
<RenameResponse xmlns="http://schemas.cordys.com/1.0/ldap" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <tuple xmlns="http://schemas.cordys.com/1.0/ldap" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <old> <entry dn="cn=111111,cn=organizational users,o=system,cn=cordys,cn=defaultInst,o=vanenburg.com"> <authenticationuser> <string>cn=111111,cn=authenticated users,cn=cordys,cn=defaultInst,o=vanenburg.com</string> </authenticationuser> <description> <string>111111</string> </description> <cn> <string>111111</string> </cn> <objectclass> <string>top</string> <string>busorganizationaluser</string> <string>busorganizationalobject</string> </objectclass> </entry> </old> <new> <entry dn="cn=111112,cn=organizational users,o=system,cn=cordys,cn=defaultInst,o=vanenburg.com"> <authenticationuser> <string>cn=111112,cn=authenticated users,cn=cordys,cn=defaultInst,o=vanenburg.com</string> </authenticationuser> <description> <string>111111</string> </description> <cn> <string>111112</string> </cn> <objectclass> <string>top</string> <string>busorganizationaluser</string> <string>busorganizationalobject</string> </objectclass> </entry> </new> </tuple> </RenameResponse>